package com.scm.biz.dao;

import java.util.List;

import com.scm.biz.bean.ProductionOrder;
import com.scm.biz.query.ProductionOrderQuery;
import com.scm.biz.result.ProductionOrderResult;

public interface ProductionOrderDao {
    int deleteByPrimaryKey(Long id);

    int insert(ProductionOrder record);

    int insertSelective(ProductionOrder record);

    ProductionOrder selectByPrimaryKey(Long id);
    ProductionOrderResult selectById(Long id);
    int updateByPrimaryKeySelective(ProductionOrder record);

    int updateByPrimaryKey(ProductionOrder record);
    List<ProductionOrderResult> selectPage(ProductionOrderQuery productionOrderQuery);
    
    int selectTotal(ProductionOrderQuery productionOrderQuery);
}